package com.beehoo.dcportal.dao;

import java.util.List;

import com.beehoo.dcportal.common.base.BaseException;
import com.beehoo.dcportal.model.ComplaintBean;

public interface IComplaintDao {

	/**
	 * 添加投诉上报
	 * @param complaintBean
	 * @return
	 * @throws BaseException
	 */
	public String addComplaint(ComplaintBean complaintBean) throws BaseException;
	
	/**
	 * 获取投诉上报事件类型
	 * @return
	 * @throws BaseException
	 */
	public List<ComplaintBean> queryQueType() throws BaseException;
	
	/**
	 * 获取投诉上报服务条线
	 * @return
	 * @throws BaseException
	 */
	public List<ComplaintBean> queryServLine() throws BaseException;
	
	/**
	 * 获取投诉上报服务子条线
	 * @param servLineId
	 * @return
	 * @throws BaseException
	 */
	public List<ComplaintBean> querySubServLine(String servLineId) throws BaseException;
}
